package com.project.bookstore.user.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("个人中心 info 数据")
public class MineInfoVO implements Serializable {
    @ApiModelProperty("用户ID")
    private Long id;
    @ApiModelProperty("用户昵称")
    private String nick;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("用户手机")
    private String  phone;
    @ApiModelProperty("用户邮箱")
    private String email;
    @ApiModelProperty("用户上次登录时间")
    private LocalDateTime lastLogin;

    private Long billId;
    @ApiModelProperty("用户账单ID")
    private String account;
    @ApiModelProperty("用户余额")
    private BigDecimal balance;
}
